﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;

namespace Project_QuangCaoABC
{
    public partial class frmMain : Form
    {
        public frmMain()
        {
            InitializeComponent();
        }

        private void quảnLýKháchHàngToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmKhachHang fkh = new frmKhachHang();
            fkh.MdiParent = this;
            fkh.Show();
            //fkh.ShowDialog();
        }

        private void quảnLýNhânViênToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmNhanVien fnv = new frmNhanVien();
            fnv.MdiParent = this;
            fnv.Show();
            //fnv.ShowDialog();
        }

        private void quảnLýTinQuảngCáoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmThongTinQC fqc = new frmThongTinQC();
            fqc.MdiParent = this;
            fqc.Show();
            //fqc.ShowDialog();
        }

        private void quảnLýBảngGiáQuảngCáoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmBangGiaQuangCao bg = new frmBangGiaQuangCao();
            bg.MdiParent = this;
            bg.Show();
           // bg.ShowDialog();
        }
        private void đăngNhậpToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmDangNhap fnd = new frmDangNhap();
            fnd.MdiParent = this;
            this.Show();
        }
        private void quảnLýHợpĐồngToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmHopDongQuangCao fhd = new frmHopDongQuangCao();
            fhd.MdiParent = this;
            fhd.Show();
        }
        private void sốLượngHợpĐồngNhânViênPhụTráchToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmReportDSNhanVien_HopDong frmNv_HD = new frmReportDSNhanVien_HopDong();
            //frmNv_HD.MdiParent = this;
            frmNv_HD.Show();
        }
        private void gaioDiệnToolStripMenuItem_Click_1(object sender, EventArgs e)
        {
            skinEngine1.Active = true;
            skinEngine1.ApplyAdditionalBuiltInSkins(1);
        }

        private void giaoDiệnCủaWindownToolStripMenuItem_Click(object sender, EventArgs e)
        {
            skinEngine1.Active = true;
            skinEngine1.ApplyAdditionalBuiltInSkins(3);
        }

        private void frmMain_Load(object sender, EventArgs e)
        {

            skinEngine1.Active = true;
            skinEngine1.ApplyAdditionalBuiltInSkins(0);
            
        }

        private void giaoDiệnClearnToolStripMenuItem_Click(object sender, EventArgs e)
        {
            skinEngine1.Active = true;
            skinEngine1.ApplyAdditionalBuiltInSkins(2);
        }

        private void hướngDẫnSửDụngToolStripMenuItem_Click(object sender, EventArgs e)
        {
            System.Diagnostics.Process.Start("Help.doc");
        }

        private void thoátChươngTrìnhToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        

        
        
    }
}
